#include "include/cxxstd.h"
#include "include/zero.h"
#include "include/lib.h"

using namespace zero;

namespace pic
{
class Root : public Gate
{
	public:
		virtual bool query(const char* name) {
#define _C(c) c, sizeof(c)
			if (bstrcmp(_C("abc"), name))
				return true;
			else
				return false;
		}

		virtual const char* version() {
			return "1.0";
		}
} root;

extern "C" Gate* pic_entry()
{
	return &root;
}
}

// vim: foldmarker=<([{,}])> foldmethod=marker
